﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000031 RID: 49
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ActivityExpedition : IMessage<ActivityExpedition>, IMessage, IEquatable<ActivityExpedition>, IDeepCloneable<ActivityExpedition>, IBufferMessage
	{
		// Token: 0x1700008E RID: 142
		// (get) Token: 0x06000213 RID: 531 RVA: 0x0000700B File Offset: 0x0000520B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ActivityExpedition> Parser
		{
			get
			{
				return ActivityExpedition._parser;
			}
		}

		// Token: 0x1700008F RID: 143
		// (get) Token: 0x06000214 RID: 532 RVA: 0x00007012 File Offset: 0x00005212
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ActivityExpeditionReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000090 RID: 144
		// (get) Token: 0x06000215 RID: 533 RVA: 0x00007024 File Offset: 0x00005224
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ActivityExpedition.Descriptor;
			}
		}

		// Token: 0x06000216 RID: 534 RVA: 0x0000702B File Offset: 0x0000522B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityExpedition()
		{
		}

		// Token: 0x06000217 RID: 535 RVA: 0x00007040 File Offset: 0x00005240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityExpedition(ActivityExpedition other) : this()
		{
			this.iIADPLEIIGF_ = other.iIADPLEIIGF_;
			this.lDCANAOMENA_ = other.lDCANAOMENA_;
			this.id_ = other.id_;
			this.jILJJMODLFP_ = other.jILJJMODLFP_;
			this.avatarIdList_ = other.avatarIdList_.Clone();
			this.bIOLPOMJPID_ = other.bIOLPOMJPID_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000218 RID: 536 RVA: 0x000070B1 File Offset: 0x000052B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ActivityExpedition Clone()
		{
			return new ActivityExpedition(this);
		}

		// Token: 0x17000091 RID: 145
		// (get) Token: 0x06000219 RID: 537 RVA: 0x000070B9 File Offset: 0x000052B9
		// (set) Token: 0x0600021A RID: 538 RVA: 0x000070C1 File Offset: 0x000052C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IIADPLEIIGF
		{
			get
			{
				return this.iIADPLEIIGF_;
			}
			set
			{
				this.iIADPLEIIGF_ = value;
			}
		}

		// Token: 0x17000092 RID: 146
		// (get) Token: 0x0600021B RID: 539 RVA: 0x000070CA File Offset: 0x000052CA
		// (set) Token: 0x0600021C RID: 540 RVA: 0x000070D2 File Offset: 0x000052D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long LDCANAOMENA
		{
			get
			{
				return this.lDCANAOMENA_;
			}
			set
			{
				this.lDCANAOMENA_ = value;
			}
		}

		// Token: 0x17000093 RID: 147
		// (get) Token: 0x0600021D RID: 541 RVA: 0x000070DB File Offset: 0x000052DB
		// (set) Token: 0x0600021E RID: 542 RVA: 0x000070E3 File Offset: 0x000052E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x17000094 RID: 148
		// (get) Token: 0x0600021F RID: 543 RVA: 0x000070EC File Offset: 0x000052EC
		// (set) Token: 0x06000220 RID: 544 RVA: 0x000070F4 File Offset: 0x000052F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint JILJJMODLFP
		{
			get
			{
				return this.jILJJMODLFP_;
			}
			set
			{
				this.jILJJMODLFP_ = value;
			}
		}

		// Token: 0x17000095 RID: 149
		// (get) Token: 0x06000221 RID: 545 RVA: 0x000070FD File Offset: 0x000052FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarIdList
		{
			get
			{
				return this.avatarIdList_;
			}
		}

		// Token: 0x17000096 RID: 150
		// (get) Token: 0x06000222 RID: 546 RVA: 0x00007105 File Offset: 0x00005305
		// (set) Token: 0x06000223 RID: 547 RVA: 0x0000710D File Offset: 0x0000530D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIOLPOMJPID
		{
			get
			{
				return this.bIOLPOMJPID_;
			}
			set
			{
				this.bIOLPOMJPID_ = value;
			}
		}

		// Token: 0x06000224 RID: 548 RVA: 0x00007116 File Offset: 0x00005316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ActivityExpedition);
		}

		// Token: 0x06000225 RID: 549 RVA: 0x00007124 File Offset: 0x00005324
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ActivityExpedition other)
		{
			return other != null && (other == this || (this.IIADPLEIIGF == other.IIADPLEIIGF && this.LDCANAOMENA == other.LDCANAOMENA && this.Id == other.Id && this.JILJJMODLFP == other.JILJJMODLFP && this.avatarIdList_.Equals(other.avatarIdList_) && this.BIOLPOMJPID == other.BIOLPOMJPID && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06000226 RID: 550 RVA: 0x000071B4 File Offset: 0x000053B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IIADPLEIIGF != 0U)
			{
				num ^= this.IIADPLEIIGF.GetHashCode();
			}
			if (this.LDCANAOMENA != 0L)
			{
				num ^= this.LDCANAOMENA.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this.JILJJMODLFP != 0U)
			{
				num ^= this.JILJJMODLFP.GetHashCode();
			}
			num ^= this.avatarIdList_.GetHashCode();
			if (this.BIOLPOMJPID != 0U)
			{
				num ^= this.BIOLPOMJPID.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06000227 RID: 551 RVA: 0x00007265 File Offset: 0x00005465
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06000228 RID: 552 RVA: 0x0000726D File Offset: 0x0000546D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06000229 RID: 553 RVA: 0x00007278 File Offset: 0x00005478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Id);
			}
			if (this.JILJJMODLFP != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.JILJJMODLFP);
			}
			if (this.BIOLPOMJPID != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.BIOLPOMJPID);
			}
			if (this.IIADPLEIIGF != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.IIADPLEIIGF);
			}
			if (this.LDCANAOMENA != 0L)
			{
				output.WriteRawTag(56);
				output.WriteInt64(this.LDCANAOMENA);
			}
			this.avatarIdList_.WriteTo(ref output, ActivityExpedition._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600022A RID: 554 RVA: 0x00007338 File Offset: 0x00005538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IIADPLEIIGF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IIADPLEIIGF);
			}
			if (this.LDCANAOMENA != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.LDCANAOMENA);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this.JILJJMODLFP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.JILJJMODLFP);
			}
			num += this.avatarIdList_.CalculateSize(ActivityExpedition._repeated_avatarIdList_codec);
			if (this.BIOLPOMJPID != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIOLPOMJPID);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600022B RID: 555 RVA: 0x000073EC File Offset: 0x000055EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ActivityExpedition other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IIADPLEIIGF != 0U)
			{
				this.IIADPLEIIGF = other.IIADPLEIIGF;
			}
			if (other.LDCANAOMENA != 0L)
			{
				this.LDCANAOMENA = other.LDCANAOMENA;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			if (other.JILJJMODLFP != 0U)
			{
				this.JILJJMODLFP = other.JILJJMODLFP;
			}
			this.avatarIdList_.Add(other.avatarIdList_);
			if (other.BIOLPOMJPID != 0U)
			{
				this.BIOLPOMJPID = other.BIOLPOMJPID;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600022C RID: 556 RVA: 0x00007489 File Offset: 0x00005689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600022D RID: 557 RVA: 0x00007494 File Offset: 0x00005694
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 8U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
					if (num == 24U)
					{
						this.JILJJMODLFP = input.ReadUInt32();
						continue;
					}
					if (num == 32U)
					{
						this.BIOLPOMJPID = input.ReadUInt32();
						continue;
					}
				}
				else if (num <= 56U)
				{
					if (num == 48U)
					{
						this.IIADPLEIIGF = input.ReadUInt32();
						continue;
					}
					if (num == 56U)
					{
						this.LDCANAOMENA = input.ReadInt64();
						continue;
					}
				}
				else if (num == 112U || num == 114U)
				{
					this.avatarIdList_.AddEntriesFrom(ref input, ActivityExpedition._repeated_avatarIdList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040000AC RID: 172
		private static readonly MessageParser<ActivityExpedition> _parser = new MessageParser<ActivityExpedition>(() => new ActivityExpedition());

		// Token: 0x040000AD RID: 173
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000AE RID: 174
		public const int IIADPLEIIGFFieldNumber = 6;

		// Token: 0x040000AF RID: 175
		private uint iIADPLEIIGF_;

		// Token: 0x040000B0 RID: 176
		public const int LDCANAOMENAFieldNumber = 7;

		// Token: 0x040000B1 RID: 177
		private long lDCANAOMENA_;

		// Token: 0x040000B2 RID: 178
		public const int IdFieldNumber = 1;

		// Token: 0x040000B3 RID: 179
		private uint id_;

		// Token: 0x040000B4 RID: 180
		public const int JILJJMODLFPFieldNumber = 3;

		// Token: 0x040000B5 RID: 181
		private uint jILJJMODLFP_;

		// Token: 0x040000B6 RID: 182
		public const int AvatarIdListFieldNumber = 14;

		// Token: 0x040000B7 RID: 183
		private static readonly FieldCodec<uint> _repeated_avatarIdList_codec = FieldCodec.ForUInt32(114U);

		// Token: 0x040000B8 RID: 184
		private readonly RepeatedField<uint> avatarIdList_ = new RepeatedField<uint>();

		// Token: 0x040000B9 RID: 185
		public const int BIOLPOMJPIDFieldNumber = 4;

		// Token: 0x040000BA RID: 186
		private uint bIOLPOMJPID_;
	}
}
